"use strict";

// #! /usr/bin/env node
const { stripTypeScriptTypes } = require("node:module");

const code = /* js */ `
class A {
 #name():string;
 #name():number;
 #name(): string|number{
  return '18';
 }
};`;
const strippedCode = stripTypeScriptTypes(code);
console.log(strippedCode);
// Prints: const a         = 1;
